dependencies: platform_device_id: ^0.1.3
import 'package:platform_device_id/platform_device_id.dart'; String deviceId = await PlatformDeviceId.getDeviceId;